Skip to content

feat: fire openCashLink eagerly on cold start instead of waiting for nav transition#970

Merged
bmc08gt merged 1 commit into
code/cashfrom
feat/cold-launch-cash-link-perf
Jun 23, 2026
Merged

feat: fire openCashLink eagerly on cold start instead of waiting for nav transition#970
bmc08gt merged 1 commit into
code/cashfrom
feat/cold-launch-cash-link-perf

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

On cold launch with a cash link deep link, openCashLink was deferred until the Loading → Scanner nav transition completed and App.kt's LaunchedEffect re-fired. This added visible latency before the bill appeared.

Now buildNavGraphForLaunch carries a pendingAction for OpenCashLink and Login deep links, and MainRoot fires it immediately alongside the nav transition so the claim starts in parallel with the Scanner screen appearing.

…nav transition

On cold launch with a cash link deep link, openCashLink was deferred
until the Loading → Scanner nav transition completed and App.kt's
LaunchedEffect re-fired. This added visible latency before the bill
appeared.

Now buildNavGraphForLaunch carries a pendingAction for OpenCashLink
and Login deep links, and MainRoot fires it immediately alongside
the nav transition so the claim starts in parallel with the Scanner
screen appearing.

Signed-off-by: Brandon McAnsh <[email protected]>
@bmc08gt bmc08gt self-assigned this Jun 23, 2026
@github-actions github-actions Bot added the type: feature New functionality label Jun 23, 2026
@bmc08gt bmc08gt merged commit e0993f2 into code/cash Jun 23, 2026
2 of 3 checks passed
@bmc08gt bmc08gt deleted the feat/cold-launch-cash-link-perf branch June 23, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant